import Message from 'element-ui/packages/message/src/main'

export default {
  //消息提示框
  success: function (title) {
    Message({
      message: title,
      type: 'success'
    });
  },
  error: function (title) {
    Message({
      message: title,
      type: 'error'
    });
  },
  warning: function (title) {
    Message({
      message: title,
      type: 'warning'
    });
  },
};
